<!DOCTYPE html>
 <html>
<head>
 <meta content="text/html; charset=UTF-8" http-equiv="content-type">
 <title>编辑 测试</title>
 </head>
<body>
{T navigation}
<!-- add.html 癿 form 癿 action 为空返样默认是当前页面，也就是 add.html。而同样癿 edit.html 癿
 form癿action也为 add.html。也就是说两个页面提交癿信息都是通过 add.php 处理癿。  -->

 <!-- save();既可以新增，也可以更新，框架是通过判断模型中是否定义了主键 ID 来区分癿 -->
 <form action="add.html" method="post">
 {$news->lable('title')}：{$news->text('title')}<br/>
 {$news->lable('author')}：{$news->text('author')}
 {$news->lable('theme')}：{$news->select('theme')}<br/>
 {$news->lable('posttime')}：{$news->date('posttime')}
 {$news->lable('status')}:{$news->checkbox('status')}<br/>
 {$news->lable('content')}：<br/>
 {$news->texteditor('content')}<br/>
 <button type="submit">提交</button>
 {$news->hidden('id')}<br/>
 </form>
 </body>
 </html>
